package com.cxw.healthserver.service

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper

/**
 * @createTime 2024/6/25 23:14
 * @author 崔兴旺
 * @description
 */
open class BaseService<Entity> {

    protected fun createQueryWrapper(username: String, idNumber: String): QueryWrapper<Entity> {
        return QueryWrapper<Entity>().eq("username", username).eq("idNumber", idNumber)
    }

}